/**
 */
package itcsystem.impl;

import itcsystem.Alumno;
import itcsystem.Aula;
import itcsystem.Generacion;
import itcsystem.Grupo;
import itcsystem.Instituto;
import itcsystem.ItcsystemPackage;
import itcsystem.Materia;
import itcsystem.Nombramiento;
import itcsystem.PlanEstudio;
import itcsystem.Profesor;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Instituto</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRalumnos <em>Ralumnos</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRmaterias <em>Rmaterias</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRProfesor <em>RProfesor</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRAula <em>RAula</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRPlanEstudios <em>RPlan Estudios</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRGeneracion <em>RGeneracion</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRGrupo <em>RGrupo</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getRNombramiento <em>RNombramiento</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getNombre <em>Nombre</em>}</li>
 *   <li>{@link itcsystem.impl.InstitutoImpl#getId <em>Id</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class InstitutoImpl extends CDOObjectImpl implements Instituto {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected InstitutoImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return ItcsystemPackage.Literals.INSTITUTO;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Alumno> getRalumnos() {
		return (EList<Alumno>)eGet(ItcsystemPackage.Literals.INSTITUTO__RALUMNOS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Materia> getRmaterias() {
		return (EList<Materia>)eGet(ItcsystemPackage.Literals.INSTITUTO__RMATERIAS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Profesor> getRProfesor() {
		return (EList<Profesor>)eGet(ItcsystemPackage.Literals.INSTITUTO__RPROFESOR, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Aula> getRAula() {
		return (EList<Aula>)eGet(ItcsystemPackage.Literals.INSTITUTO__RAULA, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<PlanEstudio> getRPlanEstudios() {
		return (EList<PlanEstudio>)eGet(ItcsystemPackage.Literals.INSTITUTO__RPLAN_ESTUDIOS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Generacion> getRGeneracion() {
		return (EList<Generacion>)eGet(ItcsystemPackage.Literals.INSTITUTO__RGENERACION, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Grupo> getRGrupo() {
		return (EList<Grupo>)eGet(ItcsystemPackage.Literals.INSTITUTO__RGRUPO, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Nombramiento> getRNombramiento() {
		return (EList<Nombramiento>)eGet(ItcsystemPackage.Literals.INSTITUTO__RNOMBRAMIENTO, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getNombre() {
		return (String)eGet(ItcsystemPackage.Literals.INSTITUTO__NOMBRE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setNombre(String newNombre) {
		eSet(ItcsystemPackage.Literals.INSTITUTO__NOMBRE, newNombre);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getId() {
		return (Integer)eGet(ItcsystemPackage.Literals.INSTITUTO__ID, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setId(int newId) {
		eSet(ItcsystemPackage.Literals.INSTITUTO__ID, newId);
	}

} //InstitutoImpl
